package models.entities;

public class BrandEntity {
    public String title;
    public int id;
    public int productCount;
    public int imagesCount;
    public boolean hasPicture;

    public boolean isHasPicture() {
        return imagesCount > 0;
    }

    public BrandEntity(String brandName) {
        this.title = brandName;
        hasPicture = true;
    }


    public BrandEntity() {
        hasPicture = true;
    }
}
